package ie.icmr.scs.sms.web.controller.rest;

import java.io.Serializable;

/**
 * This class represents the response sent to the client after performing a submission to Alfresco.
 * 
 * <br><br>
 * 
 * The object is parsed to JSON automatically by Spring when it is returned.
 * 
 * @author alejandrogarciaseco
 *
 */
public class MediaSubmissionResult implements Serializable
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4117740492866616009L;

	/**
	 * Whether the submission was successful or not
	 */
	private Boolean success = false;
	/**
	 * Message that explains the situation, specially in if the subission was unsuccessful.
	 */
	private String message = null;
	
	public Boolean getSuccess()
	{
		return success;
	}
	public void setSuccess(Boolean success)
	{
		this.success = success;
	}
	
	public String getMessage()
	{
		return message;
	}
	public void setMessage(String message)
	{
		this.message = message;
	}
}
